<? echo $adminMenu->manage(); ?>
<div class="comment">
<?php echo $form->create('Comment');?>
	<fieldset>
 		<legend><?php __('COMMENT_EDIT_TITLE');?></legend>
	<? //echo $form -> create('articles',array('action'=>'comment_add/'.$article['Article']['id'],'name'=>'commentsAddForm','id'=>'commentsAddForm','onsubmit'=>"new Ajax.Updater({success:'comment_list'}, '".$html -> url('/articles/comment_add/'.$article['Article']['id'])."',  {asynchronous:true, evalScripts:true,insertion:Insertion.Bottom, onLoading:function(request){Element.hide('comment_message');Element.show('comment_loading')}, onSuccess:function(request){}, onComplete:function(request){Element.show('comment_message');Element.hide('preview');Element.hide('comment_loading');new Effect.BlindDown($('comment_list').lastChild);}, parameters:Form.serialize('commentsAddForm')}); return false;")); ?>
	<? echo $form -> hidden('Comment.id'); ?>
	<div class="input_line"> 
		<div class="input_text"><?php echo $form->label('Comment.user_name', __('USERNAME',true));?></div>
	 	<?php echo $form->input('Comment.user_name', array('label'=>false,'style'=>'width:95%')); ?>
	</div>
	<div class="input_line">
		<div class="input_text"><?php echo $form->label('Comment.title', __('TITLE',true));?></div>
	 	<?php echo $form->input('Comment.title', array('style'=>'width:95%','label' => false));?>
	</div>
	<div class="input_line"> 
		<div class="input_text" id="area"><?php echo $form->label('Comment.text', __('TEXT',true));?></div>
	 	<?php echo $form->textArea('Comment.text', array('style'=>'width:95%;height:300px;',"rows" => 15, "cols" => 70));?>
	</div>
	</fieldset>
	<div class="input_line">
		<?php echo $form->end(__('SEND',true));?>
	</div>
</div>